<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ taglib uri="/WEB-INF/tlds/att.tld" prefix="att"%>
<html>
<head>
	<meta name="decorator" content="moduleView" />
	
<script type="text/javascript">
function getUrl(url){ 
	  $("#versionFrame").attr("src",url);
	}
</script>
</head>
<body>
	<div class="panel panel-default"> 
	  <div class="col-xs-12 panel-heading">
	  <h2 class="panel-title o-v-action pull-left">
	    	销售明细单详细信息 
	    </h2>
	    
	  </div> 
	  <div>
		   <ul class="nav nav-tabs" id="myTab">
		
			</ul> 
			<div class="tab-content">
			  <div class="tab-pane active" id="home">
			  <tags:message content="${message}"/>
				  	<table class="table table-bordered">
					  <tbody>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>销售单号:</strong></td>
					  		<td>
								${statementSaleDetail.billNo}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right"><strong>商品条码:</strong></td>
					  		<td>${statementSaleDetail.barCode}</td>
					  	</tr> 
					  	<tr>
					  		<td class="text-right"><strong>单价:</strong></td>
					  		<td>${statementSaleDetail.price}</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right"><strong>销售数量:</strong></td>
					  		<td>${statementSaleDetail.quantity}</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right"><strong>收银金额:</strong></td>
					  		<td>${statementSaleDetail.amount}</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right"><strong>储值卡金额:</strong></td>
					  		<td>${statementSaleDetail.prepaidCardAmount}</td>
					  	</tr>  
					  	<tr>
					  		<td class="text-right"><strong>信用卡金额:</strong></td>
					  		<td>${statementSaleDetail.creditCardAmount}</td>
					  	</tr>
					  </tbody>
					  
					</table>
					
					<div class="panel-footer"></div>
				 </div>
				 <div class="tab-pane" id="history">
					<iframe id="versionFrame"   name="versionFrame"  
									scrolling="no" frameborder="no" width="100%"></iframe>
				 </div>
			</div> 
		</div> 
	</div>
	<script type="text/javascript" src="${staticPath}/js/list.js"></script>	
</body>
</html>